import { createWebHistory, createRouter } from 'vue-router'
import FactoryOverview from '../views/FactoryOverview/index.vue'
import ProductionSituation from '../views/ProductionSituation/index.vue'
import Storage from '../views/Storage/index.vue'
import Facility from '../views/Facility/index.vue'

const routes = [
  { path: '/', name: 'FactoryOverview', component: FactoryOverview },
  { path: '/ProductionSituation', name: 'ProductionSituation', component: ProductionSituation },
  { path: '/Storage', name: 'Storage', component: Storage },
  { path: '/Facility', name: 'Facility', component: Facility },
]

const router = createRouter({
  history: createWebHistory(),
  routes,
})
export default router